<?php /* Smarty version 2.6.18, created on 2010-01-19 04:15:20
         compiled from excel.tpl */ ?>
<form name="mainForm" method="POST" id="mainForm" name="mainForm" action="" enctype="multipart/form-data">
	
	<div id="main_content">
		<table width="100%" border="0">
			<tr>
				<td colspan="5"><h1>Data Importing Section</h1></td>
			</tr>
			<tr>
				<td colspan="5">
					<input type="file" name="file" id="file" />
					<input type="submit" value="Import">
				</td>
			</tr>
			<tr><td colspan="5"><br></td></tr>
			<tr>
				<td colspan="5">
					<label><b>Select data to import among the choices below.</b></label>
				</td>
			</tr>
			<tr>
				<td width="3%">
					<input type="radio" name="choices" value="/admin/excelImportPaymentToFishers" onClick="changeAction(this.value);">
				</td>
				<td width="20%">
					<label>Payment to Fishers By Pricelist</label>
				</td>
				<td align="left">
					<a href="/cad_clients/default/uploads/files/Payments_For_Fisher_By_Pricelist_Template.xls">Click to download template</a>
				</td>
			</tr>
			<tr>
				<td>
					<input type="radio" name="choices" value="/admin/excelImportPaymentSummaryForFishers" onClick="changeAction(this.value);">
				</td>
				<td>
					<label>Payment Summary for Fishers</label>
				</td>
				<td>
					<a href="/cad_clients/default/uploads/files/Payment_Summary_For_Fisher_Template.xls">Click to download template</a>
				</td>
			</tr>
			<tr>
				<td>
					<input type="radio" name="choices" value="/admin/excelImportRejectCodes" onClick="changeAction(this.value);">
				</td>
				<td>
					<label>Reject Codes</label>
				</td>
				<td>
					<a href="/cad_clients/default/uploads/files/Reject_Code_Template.xls">Click to download template</a>
				</td>
			</tr>
			<tr>
				<td>
					<input type="radio" name="choices" value="/admin/excelImportExporterOrderList" onClick="changeAction(this.value);">
				</td>
				<td>
					<label>Exporter Order List</label>
				</td>
				<td>
					<a href="/cad_clients/default/uploads/files/Exporter_Order_List_Template.xls">Click to download template</a>
				</td>
			</tr>
		</table>
	</div>
	<a href="/app/default/www/files/Requested_Format.xlsx">Click to download</a>

	<?php echo '	
	<script type="text/javascript">
		function changeAction(url) {
			var form	=	document.getElementById("mainForm");
			form.action =	url;
		}
	</script>
	'; ?>


</form>
